import axios from "./axios";//默认导出，名字可以变

export const getTopics = (tab)=>axios.get('./topics',{params:{tab}})
export const postTopic = (data)=>axios.post('./topics',data)
